<form nz-form [formGroup]="validateForm" (ngSubmit)="submitForm()" class="pt-lg">

  <nz-form-item>
    <nz-form-control>
      <nz-input-group nzPrefixIcon="anticon anticon-user">
        <input nz-input formControlName="account" placeholder="用户名/手机号/邮箱">
      </nz-input-group>
      <nz-form-explain *ngIf="hasError('account')">请输入用户名/手机号/邮箱！</nz-form-explain>
    </nz-form-control>
  </nz-form-item>

  <nz-form-item>
    <nz-form-control>
      <nz-input-group nzPrefixIcon="anticon anticon-lock">
        <input nz-input type="password" formControlName="password" placeholder="密码">
      </nz-input-group>
      <nz-form-explain *ngIf="hasError('password')">请输入密码!</nz-form-explain>
    </nz-form-control>
  </nz-form-item>

  <nz-form-item>
    <nz-form-control>
      <div nz-row nzType="flex" nzJustify="space-between">
        <div nz-col>
          <label nz-checkbox formControlName="rememberMe">自动登录</label>
        </div>
        <div nz-col>
          <a>忘记密码?</a>
        </div>
      </div>
      <button nz-button class="ant-btn__block" [nzType]="'primary'" [nzLoading]="config.loading">
        {{ 'login' | translate }}
      </button>
    </nz-form-control>
  </nz-form-item>

</form>